package com.matrix.marketing.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * @author 有点甜
 * @since 2025/8/1
 */
@Data
@TableName("t_coupon_template")
public class CouponTemplate {
    @TableId(type = IdType.AUTO)
    private Long id;
    private Integer issuerType;
    private Long issuerId;
    private String title;
    private Integer couponType;
    private BigDecimal thresholdAmount;
    private BigDecimal discountAmount;
    private Integer totalQuantity;
    private Integer issuedQuantity;
    private Integer validityType;
    private Integer validDays;
    private Integer status;
    private LocalDateTime createTime;
    private LocalDateTime updateTime;
}
